<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading">
            开票信息
          </header>
          <form>
            <div class="panel-body">
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">归属项目</label>
                <div class="col-sm-10">
                  <input type="text" id="proName" name="proName" class="form-control">
                  <input type="hidden" value="" name="proId" certus-required id="proId"/>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">合同编号</label>
                <div class="col-sm-10">
                  <select class="form-control" certus-required name="contractId" id="contractId" onchange="getAmoutMoney(this.value)">
                    <option value="">请选择</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">开票金额*</label>
                <div class="col-sm-10">
                  <div class="input-group m-bot15">
                    <span class="input-group-addon">￥</span>
                    <input type="text" onkeyup="clearNoNum(this)" maxlength="8"  onblur="clearNoNum(this)" class="form-control" certus-required name="invoiceBuget" id="invoiceBuget">
                    <span class="input-group-addon">元</span>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">开票人</label>
                <div class="col-sm-10">
                  <input type="text" id="autocomplete" class="form-control">
                  <input type="hidden" value="" certus-required name="invoiceUserId" id="invoiceUserId"/>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">开票时间</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" certus-required name="invoiceTime" id="invoiceTime">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">发票内容概述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="invoiceComments" maxlength="250" certus-required id="invoiceComments" placeholder="请输入软件名字或者技术服务费"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">税率*</label>
                <div class="col-sm-10">
                  <div class="input-group m-bot15">
                    <input type="text" onkeyup="clearNoNum(this)"  onblur="clearNoNum(this)" max="100" class="form-control" name="invoiceSl" id="invoiceSl" certus-required>
                    <span class="input-group-addon">%</span>
                  </div>
                </div>
              </div>
              
            </div>
          </form>
        </section>
        <section class="panel">
          <div class="panel-body">
              <p class="default-buttons">
                  <a href="javascript:void(0);" class="button-back btn btn-info" onclick="toBack()">返回</a>
                  <a href="javascript:void(0);" class="button-next  btn btn-success submit">确认提交</a>
                </p>
          </div>
        </section>
      </div>
    </div>
  </section>
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="js/project/kpandhk.js"></script>
<script>
    $('#invoiceTime').datepicker({
        format: 'yyyy-mm-dd'
    });
</script>